https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/587
let iconPadding = themeNode.get_horizontal_padding();
let iconBorder = themeNode.get_border_width(St.Side.LEFT) + themeNode.get_border_width(St.Side.RIGHT);
- let [iconMinHeight, iconNaturalHeight] = this.icons[j].label.get_preferred_height(-1);
- let iconSpacing = iconNaturalHeight + iconPadding + iconBorder;
+ let [, labelNaturalHeight] = this.icons[j].label.get_preferred_height(-1);
+ let iconSpacing = labelNaturalHeight + iconPadding + iconBorder;
let totalSpacing = this._list.spacing * (this._items.length - 1);
// We just assume the whole screen here due to weirdness happing with the passed width